import './App.less';
import { BrowserRouter,Route,Switch } from 'react-router-dom';
import Position from './components/Position'
import Count  from './components/Count'
import Person from './components/Person'

function App() {
  return (
    <div className="App">
      <BrowserRouter>
      <Switch>
        <Route path='/count' component={Count}></Route>
        <Route path='/person' component={Person}></Route>
        <Route path='/' component={Position}></Route>
      </Switch>
      </BrowserRouter>
    </div>
  );
}

export default App;
